Creating a Subversion Repository on Dropbox
1 Introduction
While one can use a dedicated Subversion server
(e.g.,
RiouxSVN) to host repositories,
it is also possible to use Dropbox.
2 Getting Started
Each member of the team must hav an account and
install the Dropbox client
(if it is not already installed) so that Dropbox is available using
the
file://
protocol (i.e., as if it is on the file system).
3 The Host
One member of the team must play the role of host by creating a
repository for the project in her/his Dropbox folder/directory
(which, if the Dropbox client is running, will appear to be on the
local file system). This is a four-part process.
First, from the Dropbox WWW site:
- Click on Sharing-New shared folder,
select "I'd like to create and share a new folder", and
click on Next.
- Enter the name of the new folder/directory
(e.g.,
CS345repository
) and click on Next.
(This folder/directory will be created under the Dropbox
folder/directory.)
Note: Never use the space character in directory/folder names because
it is commonly used as a delimiter. (You probably shouldn't use it
in file names either.)
- Share this folder/directory with the team
by entering all of their Dropbox email addresses
and clicking on Share folder.
Second, do the equivalent of running
svnadmin create
from the command line. In Aptana
Studio:
- If you are not already, use the SVN perspective by clicking
on Window-Open Perspective,
selecting "SVN Repository Exploring", and clicking on OK.
- Click on
(i.e., the "New Repository" icon).
- Browse to the appropriate folder/directory under Dropbox.
(e.g.,
c:\users\bernstdh\Dropbox\CS345repository
under MS-Windows,
/Users/bernstdh/Dropbox/CS345repository
under OS X,
or /home/bernstdh/Dropbox/CS345repository
under Linux).
- Select "File System" (if it isn't already).
- Select "Create Repository Location" (if it isn't already).
- Click on OK.
Third, you need to create a project (if you don't already have one)
as you normally would in Aptana Studio.
Finally, you need to perform the initial commit. In Aptana Studio:
- Right-click on the project directory. (You may need to
change to the Project Explorer view first.)
- Pull down to Team-Share Project.
- If you are given the option of choosing a version control
system, choose SVN.
- Choose your repository.
- Add a comment for the commit (e.g., "Initial Commit") and
click OK.